package com.yinhe.system.domain;

import com.yinhe.common.annotation.Excel;
import com.yinhe.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 知识存储对象 sys_knowledge
 * 
 * @author ChenMu
 * @date 2022-05-15
 */
public class SysKnowledge extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 知识主键 */
    private Integer knowId;

    /** 知识名称 */
    @Excel(name = "知识名称")
    private String knowName;

    /** 知识类别 */
    @Excel(name = "知识类别")
    private String knowType;

    /** 知识内容 */
    private String knowContent;

    /** 知识状态 */
    @Excel(name = "知识状态")
    private String knowStatus;

    public void setKnowId(Integer knowId) 
    {
        this.knowId = knowId;
    }

    public Integer getKnowId() 
    {
        return knowId;
    }
    public void setKnowName(String knowName) 
    {
        this.knowName = knowName;
    }

    public String getKnowName() 
    {
        return knowName;
    }
    public void setKnowType(String knowType) 
    {
        this.knowType = knowType;
    }

    public String getKnowType() 
    {
        return knowType;
    }
    public void setKnowContent(String knowContent) 
    {
        this.knowContent = knowContent;
    }

    public String getKnowContent() 
    {
        return knowContent;
    }
    public void setKnowStatus(String knowStatus) 
    {
        this.knowStatus = knowStatus;
    }

    public String getKnowStatus() 
    {
        return knowStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("knowId", getKnowId())
            .append("knowName", getKnowName())
            .append("knowType", getKnowType())
            .append("knowContent", getKnowContent())
            .append("knowStatus", getKnowStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
